package com.train.trainmanage.service;

import java.util.List;

import com.train.trainmanage.model.LocomotiveModel;

public interface LocomotiveService {
	
	
	List<LocomotiveModel> listByLoco(LocomotiveModel record);
	
	int addLoco(LocomotiveModel record);
	
	int updateLoco(LocomotiveModel record);
	
	LocomotiveModel getByLocoId(Integer locoId);
	
	LocomotiveModel getByTrainId(Integer trainId);

}
